export const titles = {
	id: '编号',// id
	projectId: '项目id',// projectId
	projectName: '所属项目',// projectName
	unityName: '所属单位',// unityName
	productId:'产品类型',
	productName: '产品类型',// productName
	place: '所在位置',// place
	deviceId: '设备编号',// deviceId
	 deviceSN: '设备序列号',// deviceSN
	alarmTitle: '告警事件',// alarmTitle
	confirm: '确认结果',// confirm
	alarmType: '告警类别',// alarmType
	dealStatus: '处理状态',// dealStatus
	createdAt: '告警时间',// createdAt
	alarmLevel:'事件等级',
	startTime:'开始时间',
	endTime:'结束时间',
	action: '操作',
}
export const prompt = {
	id: '请输入' + titles.id,
	projectId: '请输入' + titles.projectId,
	projectName: '请输入' + titles.projectName,
	unityName: '请输入' + titles.unityName,
	productName: '请选择' + titles.productName,
	place: '请输入' + titles.place,
	deviceId: '请输入' + titles.deviceId,
	// deviceSN: '请输入' + titles.deviceSN,
	alarmTitle: '请输入' + titles.alarmTitle,
	confirm: '请输入' + titles.confirm,
	alarmType: '请输入' + titles.alarmType,
	dealStatus: '请选择' + titles.dealStatus,
	productId: '请选择' + titles.productId,
	createdAt: '请输入' + titles.createdAt,
	alarmLevel:'请选择' + titles.alarmLevel
}
export const defaultSearchForm = () => {
	return {
		id: '',// id
		projectId: '',// projectId
		productId:'',
		projectName: '',// projectName
		unityName: '',// unityName
		productName: '',// productName
		place: '',// place
		deviceId: '',// deviceId
		// deviceSN: '',// deviceSN
		alarmTitle: '',// alarmTitle
		confirm: '',// confirm
		alarmType: '',// alarmType
		dealStatus: '',// dealStatus
		createdAt: '',// createdAt
		alarmLevel:'',
		startTime:'',
	    endTime:'',
		page: 1,
		limit: 10,
	}
}
export const defaultInfoForm = () => {
	return {
		id: null,// id
		projectId: null,// projectId
		productId:null,
		projectName: null,// projectName
		unityName: null,// unityName
		productName: null,// productName
		place: null,// place
		deviceId: null,// deviceId
		// deviceSN: null,// deviceSN
		alarmTitle: null,// alarmTitle
		confirm: null,// confirm
		alarmType: null,// alarmType
		dealStatus: null,// dealStatus
		createdAt: null,// createdAt
		alarmLevel:null,
	}
}
